package com.mmd.admin.model.pojo.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.math.BigDecimal;

@Getter
@Setter
@SuperBuilder
@NoArgsConstructor
@ApiModel(description = "响应数据")
public class PaySetInfoResult implements Serializable {
    private static final long serialVersionUID = 1464091935095623228L;
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "1元等于多少积分")
    private BigDecimal conversion;

    @ApiModelProperty(value = "商品金额可以使用多少比例的积分")
    private BigDecimal ratio;

    @ApiModelProperty("1消费积分2红包余额3购购金4消费金")
    private Integer paymentType;

    @ApiModelProperty("余额")
    private BigDecimal balance;

    @ApiModelProperty("直播现金+消费金 消费金多付比例  1=100%")
    private BigDecimal overpaymentRatio;

    @ApiModelProperty("每天限制支付笔数")
    private Integer astrictPayNum=-1;

    @ApiModelProperty("每天限制支付金额")
    private BigDecimal astrictMoney=BigDecimal.valueOf(-1);

    @ApiModelProperty("今天用了多少金额")
    private BigDecimal todayMoney;

    @ApiModelProperty("今天支付多少笔")
    private Integer todayNumber;

    @ApiModelProperty("折扣比例 小于这个比例")
    private BigDecimal discountRatioMin ;

    @ApiModelProperty("折扣比例 小于这个比例")
    private BigDecimal discountRatioMax ;
}
